package com.example.springboot.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("注册")
public class AuthRequestDTO {
    @ApiModelProperty(value = "手机号", required = true)
    private String phoneNumber;
    @ApiModelProperty(value = "密码", required = true)
    private String password;
    @ApiModelProperty(value = "角色", required = true)
    private String role;

    // Getter and Setter methods

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }
}
